package com.ruoyi.match.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 邀请对象 match_invite
 * 
 * @author zhangrui
 * @date 2025-04-08
 */
public class Invite extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 邀请人ID */
    private Long fromId;

    /** 受邀者ID */
    private Long toId;

    /** 队伍ID */
    private Long teamId;

    /** 邀请语 */
    @Excel(name = "邀请语")
    private String tips;

    /** 邀请状态 */
    @Excel(name = "邀请状态")
    private Integer inviteStatus;

    public void setFromId(Long fromId) 
    {
        this.fromId = fromId;
    }

    public Long getFromId() 
    {
        return fromId;
    }

    public void setToId(Long toId) 
    {
        this.toId = toId;
    }

    public Long getToId() 
    {
        return toId;
    }

    public void setTeamId(Long teamId) 
    {
        this.teamId = teamId;
    }

    public Long getTeamId() 
    {
        return teamId;
    }

    public void setTips(String tips) 
    {
        this.tips = tips;
    }

    public String getTips() 
    {
        return tips;
    }

    public void setInviteStatus(Integer inviteStatus) 
    {
        this.inviteStatus = inviteStatus;
    }

    public Integer getInviteStatus() 
    {
        return inviteStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fromId", getFromId())
            .append("toId", getToId())
            .append("teamId", getTeamId())
            .append("tips", getTips())
            .append("inviteStatus", getInviteStatus())
            .toString();
    }
}
